package com.xinli.business.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinli.business.domain.LfCommentThumbs;
import org.apache.ibatis.annotations.Mapper;

/**
 * 评论点赞Mapper接口
 *
 * @author ruoyi
 * @date 2025-04-29
 */
@Mapper
public interface LfCommentThumbsMapper  extends BaseMapper<LfCommentThumbs>
{
    /**
     * 查询评论点赞
     *
     * @param id 评论点赞主键
     * @return 评论点赞
     */
    public LfCommentThumbs selectLfCommentThumbsById(Long id);

    /**
     * 查询评论点赞列表
     *
     * @param lfCommentThumbs 评论点赞
     * @return 评论点赞集合
     */
    public List<LfCommentThumbs> selectLfCommentThumbsList(LfCommentThumbs lfCommentThumbs);

    /**
     * 新增评论点赞
     *
     * @param lfCommentThumbs 评论点赞
     * @return 结果
     */
    public int insertLfCommentThumbs(LfCommentThumbs lfCommentThumbs);

    /**
     * 修改评论点赞
     *
     * @param lfCommentThumbs 评论点赞
     * @return 结果
     */
    public int updateLfCommentThumbs(LfCommentThumbs lfCommentThumbs);

    /**
     * 删除评论点赞
     *
     * @param id 评论点赞主键
     * @return 结果
     */
    public int deleteLfCommentThumbsById(Long id);

    /**
     * 批量删除评论点赞
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLfCommentThumbsByIds(Long[] ids);
}
